﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using VM.Entity.EntityMap.User;

namespace VM.Entity.EntityDto.Invoice
{
    /// <summary>
    /// 开具货物运输服务特定要素的数电票时才需要填（specificFactor = 4时）最多2000行，至少1行
    /// </summary>
    [SugarTable("invoice_applyTravellerTransport")]
    public class invoiceApplyTravellerTransportDto
    {

        #region Model
        private int _id;
        private int? _parentid;
        private string _traveller;
        private string _traveldate;
        private string _travellercardtype;
        private string _travellercardno;
        private string _travelplace;
        private string _arriveplace;
        private string _vehicletype;
        private string _vehiclelevel;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreInsert = true)]
        [JsonIgnore]
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [JsonIgnore]
        public int? parentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 出行人
        /// </summary>
        public string traveller
        {
            set { _traveller = value; }
            get { return _traveller; }
        }
        /// <summary>
        /// 出行日期（年-月-日）
        /// </summary>
        public string travelDate
        {
            set { _traveldate = value; }
            get { return _traveldate; }
        }
        /// <summary>
        /// 出行人证件类型（枚举值同经办人身份证件类型）
        /// </summary>
        public string travellerCardType
        {
            set { _travellercardtype = value; }
            get { return _travellercardtype; }
        }
        /// <summary>
        /// 出行人证件号码
        /// </summary>
        public string travellerCardNo
        {
            set { _travellercardno = value; }
            get { return _travellercardno; }
        }
        /// <summary>
        /// 出行地
        /// </summary>
        public string travelPlace
        {
            set { _travelplace = value; }
            get { return _travelplace; }
        }
        /// <summary>
        /// 到达地
        /// </summary>
        public string arrivePlace
        {
            set { _arriveplace = value; }
            get { return _arriveplace; }
        }
        /// <summary>
        /// 	交通工具类型（1-飞机 2-火车 3-长途汽车 4-公共交通 5-出租车 6-汽车 7-船舶 9-其他）
        /// </summary>
        public string vehicleType
        {
            set { _vehicletype = value; }
            get { return _vehicletype; }
        }
        /// <summary>
        /// 交通工具等级（当交通工具类型是火车、飞机、船舶时必填选择，其他交通工具时可选填；当选择火车时必须传"一等座","二等座","软席（软座、软卧）","硬席（硬座、硬卧）" 其中之一；当选择飞机时必须传"公务舱","头等舱","经济舱" 其中之一；当选择船舶时必须选择"一等舱","二等舱","三等舱" 其中之一）
        /// </summary>
        public string vehicleLevel
        {
            set { _vehiclelevel = value; }
            get { return _vehiclelevel; }
        }
        #endregion Model

    }
}
